﻿<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Actor Culling Test</title>
  </head>
  <body>
    <canvas id="game"></canvas>

    <script type="module" src="culling.js"></script>
    <p>Press 'd' for debug mode, arrow keys to move around</p>
    <p>Resize the sprite, rotate the actor, etc. The 4 colored corner dots should remain correcly on the 4 corners of the sprite.</p>
    <p>player.isOffscreen should only be true if the actor (outlined in yellow in debug mode) and the sprite are both off screen.</p>
  </body>
</html>
